<!--
 * @Author: 周洋 1430536748@qq.com
 * @Date: 2024-08-13 23:59:08
 * @LastEditors: 周洋 1430536748@qq.com
 * @LastEditTime: 2024-08-23 00:09:06
 * @version: 1.2.5
 * @Description: 
-->
<script setup lang="ts">
import SvgIcon from '../SvgIcon/index.vue';
import { props } from '../props.ts';
const { icon, text, type, color, size } = defineProps(props);
</script>
<template>
    <el-button :link="link" :type="type" :color="color" auto-insert-space dark  :style="{fontSize:size}">
        <template #icon>
            <SvgIcon :icon="icon" :size="size" />
        </template>
        {{ text }}
    </el-button>
</template>